<!DOCTYPE html>
<#assign ctx=request.contextPath />
<html>
<head>
	<meta charset=utf-8>
	<title>${wxAccount.name?if_exists}</title>
	<meta http-equiv="pragma" content="no-cache"> 
	<meta http-equiv="cache-control" content="no-store, must-revalidate">
	<meta http-equiv="expires" content="0"> 
	<meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
	<script>
		// 初始化数据
	    window.configure = {
		     appKey: '${appKey?if_exists}', // appKey
		     acKey: '${wxAccount.ack?if_exists}', // AcKey
		     WXappId: '${wxAccount.wxappId?if_exists}', // 微信 APPid
		     weixinUrl: '${ctx}', // 微信地址
		     serverUrl: '${wxApplication.address?if_exists}', // 代驾地址
		     baiduKey: 'AuNk3YS21DSmHEEvIFDf9dbD'//'AuNk3YS21DSmHEEvIFDf9dbD' //  百度地图API Key
	    };
	    
	    // 因为微信后台管理配置的只有域名没有协议，所以这里要判断一下
	    serverUrl = window.configure.serverUrl;
	    serverUrl = ((serverUrl.indexOf("http://") >= 0) || (serverUrl.indexOf("https://") >= 0)) ? serverUrl : ('https://' + serverUrl);
	    window.configure.serverUrl = serverUrl;
	    console.log(window.configure);
	</script>
	<link href=/static/css/app.cda5d76e19beac3fbc0f738343e374a4.css rel=stylesheet>
</head>
<body>
	<div id=app></div>
	<script type=text/javascript src=/static/js/manifest.de8959d2bbde552eb913.js></script>
	<script type=text/javascript src=/static/js/vendor.e245015d3b72d0901a79.js></script>
	<script type=text/javascript src=/static/js/app.e85779d404b82b63d5f8.js></script>
</body>
</html>